package com.itheima.service;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Member;
import com.itheima.pojo.User;

import java.util.List;

public interface MemberService {
    public Member findByTelephone(String telephone);
    public void add(Member member);
    public List<Integer> findMemberCountByMonths(List<String> months);

    //分页查询
    public PageResult findPage(QueryPageBean queryPageBean);

    //新增数据回显
    public List<User>teacherName();
    //编辑数据回显
    public Member findById(Integer id);

    //编辑数据
    public void editMember(Member member);

    //删除数据
    public void delMember(Integer id);
}
